﻿@Code
    ViewBag.Title = "SchoolClick® System - Definir Calificaciones"
End Code

<script src="@Url.Content("~/Scripts/LoadUIDialog.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/Editor_Calendar_HookUp.js")"  type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine.js")" type="text/javascript" ></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine-es.js")" type="text/javascript" ></script>
<script src="@Url.Content("~/Scripts/Validaciones/ValidationsForms.js")" type="text/javascript" ></script>
<script src="@Url.Content("~/Scripts/App/Views/AEscolar/DialogEditNewFechasAE.js")" type="text/javascript" ></script>
<script src="@Url.Content("~/Scripts/App/Views/AEscolar/MovePanel_IzqDer_FechasAE.js")" type="text/javascript" ></script>
<script src="@Url.Content("~/Scripts/App/Views/AEscolar/LoadPanelFechasAE.js")" type="text/javascript" ></script>
    
 <link href="@Url.Content("~/Content/themes/jTable/Blue/jtable_blue.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/themes/validationEngine/validationEngine.jquery.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.jtable.min.js")" type="text/javascript" ></script>      

<script type="text/javascript">
    $(document).ready(function () {
            $('#materia-anio').hide();
            $('#loading-panel-1').show()
            LoadData_Materia_Profesor()
        }
     );

     function LoadData_Materia_Profesor() {
	    $('#materia-anio').load("@Url.Action("ViewGradosLastyear", "Profesores")",function(datos, status, xhr) {
            $('#loading-panel-1').hide();
            if (status=="error") {
                $('#error-2').show();
                var msg = "Ocurrio un error al intentar recuperar los datos. ";
                $('#error-2').html(msg + xhr.status + " " + xhr.statusText);
            }else {
                $('#materia-anio').fadeIn(300);
                $('#materia-anio').html(datos);    
            }
        });   
    };

</script>



<div class="titulo">
    <img id="logo" alt="Logo SchoolClick® System" src=@Url.Content("~/Content/SchoolClickLogo.png") />
    <h1>Definir Calificaciones</h1>  
</div>

<div id="contenido">
    <ul>
        <li>
            <h2>Materias Asignadas</h2>
            <div class="line-titulo"></div>
            <div id="loading-panel-1">
                <img src="@Url.Content("~/Content/loading.gif")" alt="Por favor espere..."/>
                <p>Por favor espere un momento...</p>
            </div>
            <div id="error-2"></div>
            <div id="materia-anio" style="text-align:center;">
            </div>
        </li>
        <li>
        
           
            
        </li>
    </ul>
</div>
